package com.freemalll.merchant.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.freemalll.merchant.common.AbstractBaseEntity;
import com.freemalll.merchant.common.CompareField;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 商户教育ICP许可证信息
 * </p>
 *
 * @author songshixiong
 * @since 2025-06-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("mer_medical_edu_icp_license")
@Schema(description = "MerMedicalEduIcpLicense对象")
public class MerMedicalEduIcpLicense extends AbstractBaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "主键")
    @TableId(value = "meil_id", type = IdType.ASSIGN_UUID)
    @CompareField(value = "meil_id", skip = true)
    private String meilId;

    @Schema(description = "所属商户")
    @TableField("mer_id")
    @CompareField(value = "mer_id", skip = true)
    private String merId;

    @Schema(description = "公司名称")
    @TableField("company_name")
    @CompareField("company_name")
    private String companyName;

    @Schema(description = "法人代表")
    @TableField("legal_name")
    @CompareField("legal_name")
    private String legalName;

    @Schema(description = "业务种类")
    @TableField("business_line")
    @CompareField("business_line")
    private String businessLine;

    @Schema(description = "有效期限起")
    @TableField("validate_start")
    @CompareField("validate_start")
    private String validateStart;

    @Schema(description = "有效期限止")
    @TableField("validate_end")
    @CompareField("validate_end")
    private String validateEnd;

    @Schema(description = "业务范围")
    @TableField("business_scope")
    @CompareField("business_scope")
    private String businessScope;

}
